package cn.iocoder.yudao.demo.mybatis.entity;

import cn.iocoder.yudao.boot.mybatis.dataobject.BaseEntity;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;

@Data
public class Role extends BaseEntity {
    @TableId(type = IdType.ASSIGN_ID)
    private Long id;

    private String name;

    private String code;
}
